<?php

namespace app\popo\vo;

use Attribute;

#[Attribute(Attribute::TARGET_PROPERTY)]
class Required
{
    public int $min;
    public int $max;
    public function __construct(int $min = 0, int $max = 0)
    {
        $this->min = $min;
        $this->max = $max;
    }
}

#[Attribute(Attribute::TARGET_PROPERTY)]
class BelongsTo
{
    public string $className;
    public function __construct(string $className)
    {
        $this->className = $className;
    }
}
